package com.example.children.Model;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

@Data //为了不手写get 和set
@TableName("Teacher")
public class Teacher {

    @TableId // 主键注解，表示数据库中的主键字段
    public String id;

    @TableField("Teacher_name")    //其他键
    public String teacherName;

    @TableField("teacher_phone")    //其他键
    public String teacherPhone; // 电话号码

    @TableField("Teacher_gender")    //性别
    public String TeacherGender;

    @TableField("experience")    //其他键
    public String experience; //  经验

    @TableField("birthday")    //生日
    public LocalDate birthday;

    @TableField("Onboarding")    //其他键
    public LocalDate Onboarding; //  入职日期

    @TableField("leaving")    //离职日期
    public LocalDate  leaving;



}
